package com.rundatop.dao.model;

import javax.persistence.Transient;

public class BaseEntiy {
    @Transient
    public int page = 1;
    @Transient
    public int rows = 10;
    @Transient
    public int sort = 1; //最新 1 热门2
    @Transient
    private String userId; //登录用户ID
    @Transient
    private String loginIp;
    @Transient
    private boolean iscan = false; //是否可以操作
    
    public boolean isIscan() {
		return iscan;
	}

	public void setIscan(boolean iscan) {
		this.iscan = iscan;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

}
